import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList< Integer> list = new ArrayList<>();
        list.add(10);
        list.add(20);
        list.add(30);
        list.add(40);
        list.add(50);
        list.add(60);
        list.add(70);
        list.add(80);
        for (int i = 0; i < list.size(); i++) {
            System.out.print(list.get(i)+"    ");
        }
        System.out.println();

        for ( Integer integer: list) {
            System.out.print(integer + "  ");
        }



    }
    public static void main1(String[] args) {
        SeqList seqList = new SeqList();
        seqList.Add(10);
        seqList.Add(11);
        seqList.Add(12);
        seqList.Add(13);
        seqList.Add(14);
        seqList.Add(15);
        seqList.add(3,55);
        boolean a = seqList.contains(55);
        System.out.println(a);
        int c = seqList.indexOf(55);
        System.out.println(c);
        int d = seqList.get(1);
        seqList.disPlay();
        System.out.println(d);
        seqList.set(5,99999);
        seqList.disPlay();
        seqList.clear();
        seqList.disPlay();

    }


}
